@height: 42px;
@header_bg_color: #409EFF;
@head_app_menu_margin: 20px;
@active_color: #FFA300;
@tabHeight: 35px;
@slideWidth: 230px;
::-webkit-scrollbar {
  width: 0 !important;
}

::-webkit-scrollbar {
  width: 0 !important;
  height: 0;
}

.page_admin {
  height: 100vh;
  .el-textarea__inner {
    border-radius: 2px !important;
  }
  .el-button--medium {
    padding: 9px 30px;
    font-size: 14px;
    border-radius: 1px;
  }

  .el-form-item .el-form-item__content, .el-form-item--small .el-form-item__label {
    line-height: 25px
  }

  .admin_left {
    .menu_top_text {
      color: white;
      width: 155px;
      font-size: 14px;
      font-weight: bold;
      margin-left: 10px;
      white-space: nowrap;
    }

    .slide_top {
      display: flex;
      align-items: center;
      height: @height !important;
      padding: 0 10px;
      background-color: @header_bg_color;
      border-right: #e6e6e6 solid 1px;
    }

    .el-menu--collapse {
      .menu_top_text {
        width: 0px;
        opacity: 0;
        transition: all ease-in-out 0.8s;
      }
    }

    .el-menu-slide:not(.el-menu--collapse) {
      width: @slideWidth;
      min-height: 100vh;

      .menu_top_text {
        width: 155px;
        opacity: 1;
        transition: all ease-in-out 0.5s;
      }
    }
  }

  .admin_right {
    .el-link--inner{
      user-select: none;
      -webkit-user-select: none;
      -moz-user-select: none;
    }

    .el-footer {
      max-height: @height;
    }

    .header {
      padding: 0 0px;
      height: auto !important;

      .header_menu {
        background-color: @header_bg_color;
        color: white;
        padding: 0 5px !important;
        text-align: left;
        height: @height !important;
        border-bottom: #e6e6e6 1px solid !important;
        display: flex;
        align-items: center;
        margin: 0 auto;

        .app_menu {
          margin-left: @head_app_menu_margin;

          .el-menu.el-menu--horizontal {
            background: transparent;
          }

          .el-menu--horizontal > .el-menu-item {
            float: left;
            color: white;
            height: @height;
            padding: 0 20px;
            margin-left: 2px;
            background: none !important;
            line-height: @height;
          }

          .el-menu--horizontal > .el-menu-item.is-active {
            font-weight: bold;
            border-bottom: none !important;
            background-color: darken(#409EFF, 20%) !important;
            color: white !important;
          }

          .el-menu--horizontal > .el-menu-item :hover {
            background: none;
          }

        }

        .admin_menu {
          margin-left: auto;
          display: flex;
          justify-content: center;
          text-align: center;
          align-items: center;

          .right_link {
            margin-left: 10px;
            color: #e6e6e6;
            font-weight: bold;
            font-size: 12px;

            :hover {
              color: #FFA300 !important;
            }
          }
        }

        .toggle {
          color: white !important;
          font-size: 22px !important;

          :hover {
            color: @active_color !important;
          }
        }
      }

      .el-tabs__item {
        user-select: none;
      }

      .header_tabs {

        padding-left: 0px!important;
        padding-right: 0px!important;

        box-shadow: 0px 1px 5px 0px #e2e2e2;
        margin-left: 0px!important;
        margin-right: 0px!important;
        .el-icon-arrow-left:before{
          color: #3a8ee6;
          content: "\e6dd";
        }
        .el-icon-arrow-right:before{
          content: "\e6dc";
          color: #3a8ee6;
        }
        .tabs_action {
          text-align: center;
          user-select: none;
          -webkit-user-select: none;
          -moz-user-select: none;
          border-left: #B3C0D1 1px solid;

          .tab_option {
            margin-left: 10px;
            color: cornflowerblue;
            padding: 1px !important;
            font-weight: bold;
            max-height: @tabHeight;
            line-height: @tabHeight;
            font-size: 12px;

            :hover {
              color: #FFA300 !important;
            }
          }
        }


        .tabs {
          .el-tabs--card > .el-tabs__header .el-tabs__item.is-active {
            background-color: #007bc3d9;
            border-color: #007bc3d9;
            color: white;
          }

          .el-tabs--card>.el-tabs__header .el-tabs__item {
            padding-left: 22px!important;
            padding-right: 22px!important;
            position: relative;
            .el-icon-close {
              width: 14px!important;
              visibility: visible;
              position: absolute;
              top: 10px;
              right: 5px;
            }

            &.is-closable:hover, &.is-active{
              padding-left: 22px!important;
              padding-right: 22px!important;
              .el-icon-close {
                visibility: visible;
              }
            }
          }

          .el-tabs--card > .el-tabs__header {
            border-bottom: none;
            margin: 0 0;

            .el-tabs__nav {
              border: 1px solid #E4E7ED;
              border-bottom: none;
              border-radius: 0;
            }
          }

          .el-tabs--top.el-tabs--card > .el-tabs__header .el-tabs__item:nth-child(2) {
            padding-left: 13px;
          }

          //设置容器高度
          .el-tabs__nav-next, .el-tabs__nav-prev {
            line-height: @tabHeight !important;
            height: @tabHeight !important;
            overflow: hidden;
          }

          //设置tab高度
          .el-tabs--card > .el-tabs__header .el-tabs__item {
            border-bottom: none !important;
            height: @tabHeight !important;
            font-size: 75%;
            user-select: none;
            line-height: @tabHeight !important;
          }

          //去掉蓝色框
          .el-tabs--card > .el-tabs__header .el-tabs__item {
            &:focus, &:active, &:hover {
              outline: none !important;
            }
          }

          .right_action {
            height: @tabHeight;
            line-height: @tabHeight;
          }
        }
      }
    }

    .content {
      .el-input__inner {
        border-radius: 2px !important;
      }
      @paginationHeight: 40px;
      @ContentHeaderHeight: 45px;
      padding: 5px;
      @diff: 120px;
      background-color: #F2F2F2;
      min-height: calc(~"100% - @{diff}") !important;
      .search-panel {
        .el-input__inner {
          border-radius: 2px !important;
          width: 220px !important;
        }
      }
      .content-header{
        background-color: white;
        border-bottom: #EBEEF5 1px solid;
        .header-title{
          font-size: 18px;
          font-weight: bold;
        }
      }
      .content-table-pagination {
        padding-top: 5px;
        height: @paginationHeight!important;
        background-color: white
      }
      .el-container{
        height: 100%;
        .el-main{
          height: 100%;
          padding: 0px 0px;
          .el-table {
            min-height: 100px;
            font-size: 11px;
            .el-table__header tr,
            .el-table__header th {
              padding: 0;
              height: 40px;
              border-right: whitesmoke 1px solid;
              background-color: #F2F2F2;
            }

            .el-table__body tr,
            .el-table__body td {
              padding: 0;
              height: 35px;
            }
          }
        }
      }
      .el-tabs--card > .el-tabs__header .el-tabs__item {
        -webkit-user-select: none;
        -moz-user-select: none;
        user-select: none !important;
      }
    }
    .el-dialog__header{
      padding: 10px 10px 10px
    }
    .el-dialog__body{
              padding: 10px 10px 10px
    }
  }

  .el-tabs__item {
    padding: 0 16px;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none !important;

    outline-color: transparent !important;
  }
}
